//
//	Result.m
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport



#import "Result.h"
#import "List.h"

@implementation Result


-(void)setValue:(id)value forKey:(NSString *)key
{
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"list"]) {
        NSMutableArray *arr = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            List *list = [List modelWithDic:dic];
            [arr addObject:list];
        }
        _list = arr;
    }
}


@end